var net/http.http2bufPools
6 uses
net/http (current package)
h2_bundle.go#L8900: var http2bufPools [7]sync.Pool // of *[]byte
h2_bundle.go#L8909: if index >= len(http2bufPools) {
h2_bundle.go#L8910: return len(http2bufPools) - 1
h2_bundle.go#L8932: if bp, ok := http2bufPools[index].Get().(*[]byte); ok && len(*bp) >= scratchLen {
h2_bundle.go#L8933: defer http2bufPools[index].Put(bp)
h2_bundle.go#L8937: defer http2bufPools[index].Put(&buf)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |